pkgname=sysbench
pkgver=1.0
pkgrel=19
pkgdesc="Benchmark tool for evaluating OS parameters that are important for a system running a database under intensive load."
url="https://gitee.com/ssri-mirrors/sysbench.git"
arch=('x86_64' 'i386' 'aarch64')
license=('GPL')
makedepends_debian_11=(cmake libtool pkg-config libmariadb-dev)
#source=("https://gitee.com/ssri-mirrors/sysbench/archive/$pkgver.$pkgrel.tar.gz")
source=("https://gitee.com/ssri-mirrors/sysbench.git")
#md5sums=('2912bfe7238cac7351459019a84e2557')
md5sums=('SKIP')

build()
{
#	cd "$pkgname-$pkgver.$pkgrel"
	cd $pkgname
	./autogen.sh
	./configure --disable-dependency-tracking
	make -j4
}

package()
{
#	cd "$pkgname-$pkgver.$pkgrel"
	cd $pkgname
	make DESTDIR=$pkgdir install
}
